package com.xinweisi.dataserver.common.checkDBName;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * CheckDBNameService
 *
 * @author lijie1
 * @version 1.0
 * @date 2020/10/9 0009 9:52
 */
@Slf4j
@Service
public class CheckDBNameService {

    @Autowired
    private CheckDBNameDao checkDBNameDao;

    public int checkDBName(String DBName){
        return checkDBNameDao.checkDBName(DBName);
    }
}
